package team.kas.anime.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import team.kas.anime.pojo.Collections;

public interface CollectionMapper {
    int deleteByPrimaryKey(String id);

    int insert(Collections record);

    Collections selectByPrimaryKey(String id);

    List<Collections> selectAll(@Param("page") Integer page, @Param("limit") Integer limit, @Param("uid") String uid);

    int updateByPrimaryKey(Collections record);

    Integer getCount();

    Collections selectById(@Param("videoId") String videoId,@Param("userId") String userId);
}